package com.yzly.demo.utils.enumUtil;

/**
 * 保险状态
 */
public enum InsuranceState {

    CREATED("N", "保险已创建"),
    RETURNED("T", "已退保"),
    BOUGHT("F", "已购保"),
    BUYING("P", "购保中"),
    CANCEL("C", "已取消"),
    RETURNING("R", "退保中");

    private String code;
    private String value;

    InsuranceState(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
